#ifndef __UART_H__
#define __UART_H__

void Serial_Init(void);
void Serial_SendByte(unsigned char Byte);
void Serial_SendArray(unsigned char *Array,unsigned int Length);
void Serial_SendString(char*String);
void Serial_SendNum(unsigned int Number,unsigned char Length);
unsigned int Serial_Pow(unsigned int X,unsigned int Y);
void Serial_SendNum(unsigned int Number,unsigned char Length);
void Serial_Printf(char *format,...);

unsigned char Serial_GetRxFlag(void);
unsigned char Serial_GetRxData(void);

int16_t Rxdata(char *str);

extern char Serial_RxPacket[];
extern uint8_t Serial_RxFlag;

#endif
